Skip to content

feat: remove deprecated has_downloads and ignore_vulnerability_alerts_during_read variables#20

Merged
Igor Rodionov (goruha) merged 7 commits intomainfrom
feat/remove-has-downloads
Apr 14, 2026
Merged

feat: remove deprecated has_downloads and ignore_vulnerability_alerts_during_read variables#20
Igor Rodionov (goruha) merged 7 commits intomainfrom
feat/remove-has-downloads

Conversation

@johncblandii
Copy link
Copy Markdown
Contributor

@johncblandii John C. Bland II (johncblandii) commented Apr 9, 2026

what

  • Remove the has_downloads variable and its deprecation check block
  • Remove the ignore_vulnerability_alerts_during_read variable and its resource attribute
  • Clean up all references from module root, examples, fixtures, README, and README.yaml

why

  • has_downloads was deprecated by GitHub — the feature no longer exists. It was previously marked deprecated in this module via deprecate: mark has_downloads variable as deprecated #17 and is now fully removed.
  • ignore_vulnerability_alerts_during_read is a no-op — the GitHub provider now handles lack of permissions automatically, making this attribute unnecessary.

references

…erts_during_read variables

has_downloads was deprecated by GitHub and previously marked deprecated in this module.
ignore_vulnerability_alerts_during_read is a no-op as the provider now handles
lack of permissions automatically. Both variables and all references removed from
module root, examples, README, and fixtures.
Copilot AI review requested due to automatic review settings April 9, 2026 21:13
@mergify mergify Bot added the triage Needs triage label Apr 9, 2026
@johncblandii John C. Bland II (johncblandii) changed the title Remove deprecated has_downloads and ignore_vulnerability_alerts_during_read variables feat: remove deprecated has_downloads and ignore_vulnerability_alerts_during_read variables Apr 9, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes two deprecated/no-op module inputs (has_downloads and ignore_vulnerability_alerts_during_read) and cleans up their usage across the root module, examples, and documentation to match current GitHub/provider behavior.

Changes:

  • Removed has_downloads variable and its deprecation enforcement check.
  • Removed ignore_vulnerability_alerts_during_read variable and its github_repository resource attribute wiring.
  • Updated README/README.yaml and example configurations/fixtures to eliminate references to the removed inputs.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
variables.tf Drops the two inputs from the module interface.
main.tf Removes the repository resource attribute and the has_downloads deprecation check block.
README.md Removes the inputs from usage snippet and generated inputs table.
README.yaml Removes has_downloads from the usage example snippet.
examples/minimum/variables.tf Removes ignore_vulnerability_alerts_during_read example variable.
examples/minimum/main.tf Removes passing ignore_vulnerability_alerts_during_read into the module.
examples/complete/variables.tf Removes ignore_vulnerability_alerts_during_read example variable.
examples/complete/main.tf Removes passing ignore_vulnerability_alerts_during_read into the module.
examples/complete/fixtures.us-east-2.tfvars Removes the fixture value for ignore_vulnerability_alerts_during_read.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@johncblandii
Copy link
Copy Markdown
Contributor Author

/terratest

@goruha Igor Rodionov (goruha) added major Breaking changes (or first stable release) and removed major Breaking changes (or first stable release) labels Apr 14, 2026
@goruha
Copy link
Copy Markdown
Member

/terratest

@goruha Igor Rodionov (goruha) merged commit f959024 into main Apr 14, 2026
16 checks passed
@goruha Igor Rodionov (goruha) deleted the feat/remove-has-downloads branch April 14, 2026 19:25
@mergify mergify Bot removed the triage Needs triage label Apr 14, 2026
@github-actions
Copy link
Copy Markdown

These changes were released in v1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants